package com.sise.studentInfoSystem.mapper;

import com.sise.studentInfoSystem.domain.TExtraPoint;
import org.apache.ibatis.annotations.Select;

public interface ExtraPointsMapper {

    @Select("select item_id from tb_extra_points where item_name=#{itemName}")
    Integer findItemIDByItemName(String itemName);

    @Select("select * from tb_extra_points where item_id = #{itemId}")
    TExtraPoint findItemByItemId(Integer itemId);
}
